using System.Buffers;
using ePipe;

namespace Letter.Net.Session;

public readonly ref struct TransportSettings
{
    public TransportSettings(PipeScheduler scheduler, MemoryPool<byte> memoryPool, PipeOptions<byte> inputOptions, PipeOptions<byte> outputOptions)
    {
        this.scheduler = scheduler;
        this.memoryPool = memoryPool;
        this.inputOptions = inputOptions;
        this.outputOptions = outputOptions;
    }
    
    public readonly PipeScheduler scheduler;
    public readonly PipeOptions<byte> inputOptions;
    public readonly PipeOptions<byte> outputOptions;
    public readonly MemoryPool<byte> memoryPool;
}